/*
  Name: book.h
  Copyright: 
  Author: 
  Date: 07-03-05 23:05
  Description: 
*/

#ifndef BOOK_H_INCLUDED
#define BOOK_H_INCLUDED

#include "ds.h"    // for Status ...

#include <iostream>
using namespace std;
#include <string.h>


const int BOOK_NAME_SIZE = 32;
struct Book {
    char name[BOOK_NAME_SIZE];
};

bool BookEqual( Book a, Book b )
{
    return strcmp(a.name, b.name)==0;
}

Status PrintBook( Book b )
{
    cout << b.name << endl;
    return true;
}

void ReadBook ( Book& b )
{
    cin.getline(b.name,BOOK_NAME_SIZE);
}

#endif
